﻿using Yyyg.Models;

namespace Yyyg.IBLL
{
    public interface IMemberService:ITableServiceBase<Member>
    {
        bool HasUser(string acc);
        bool LoginCheck(string emailOrMob, string pwd);
        int Count();
        Member AddUser(string mob, string pwd);
        Member GetUser(int uid);
        Member GetUser(string acc);

        bool AddFavorites(int uid, int gid);

        bool CancelFavorites(int uid, int gid);

        void UpdateLastMyygTime(int uid);

        bool HasNotViewed(int uid);
    }
}
